package js.lee.jvli.config;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("task")
public class TaskNode extends AbstractNode {

    public TaskNode(String name) {
        super(name);
    }

    @XStreamAsAttribute
    String time;

    @XStreamAsAttribute
    String type;

    @XStreamAsAttribute
    @XStreamAlias("invoke")
    String callClassName;

    public String getCallClassName() {
        return callClassName;
    }

    public void setCallClassName(String callClassName) {
        this.callClassName = callClassName;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
